package com.heartline.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.SerializerFeature;
import io.github.biezhi.anima.Model;
import io.github.biezhi.anima.annotation.Column;
import io.github.biezhi.anima.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 日历功能表
 * Created by zhy on 2018/6/13.
 */
@Table(name = "t_calandar", pk = "date")
@Data
@EqualsAndHashCode(callSuper = false)
public class Calandar extends Model {

    private String date;
    private String keywords;
    private String text;
    @Column(name = "md5")
    private String md5;

    public Calandar(String date, String keywords, String text, String md5) {
        this.date = date;
        this.keywords = keywords;
        this.text = text;
        this.md5 = md5;
    }
}
